package com.xiaok.smartclassroom.app.gateway.common;

import com.netflix.zuul.ZuulFilter;
import com.netflix.zuul.exception.ZuulException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Classname FilterPre
 * @Description 请求前执行
 * @Date 2021/3/23 22:11
 * @Created by xiaok
 */
public class PreFilter extends ZuulFilter {

    private Logger log =  LoggerFactory.getLogger(PreFilter.class);
    @Override
    public String filterType() {
        return null;
    }

    @Override
    public int filterOrder() {
        return 0;
    }

    @Override
    public boolean shouldFilter() {
        return false;
    }

    @Override
    public Object run() throws ZuulException {
        return null;
    }
}
